package com.wnxy.pms.member.core.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@ApiModel("用户登陆数据")
@Data
public class UserDto {
    @NotBlank(message = "手机号不能为空")
    @ApiModelProperty("手机号")
    private String mobile;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty("密码")
    private String password;
}
